<template>
  <el-breadcrumb class="mbx" separator="/">
    <el-breadcrumb-item :to="{ path: '/mall' }">首页</el-breadcrumb-item>
    <el-breadcrumb-item :to="currentPath">{{ title }}</el-breadcrumb-item>
  </el-breadcrumb>
</template>

<script setup lang="ts">
defineProps<{
  title: string
  currentPath: string
}>()
</script>

<style scoped lang="scss">
.mbx {
  padding: 28px 0;
  font-size: 12px;
}
</style>
